import _ from 'lodash';
import $ from 'jquery';
import LCCScript from 'src/runtime/LCC';
//@ts-ignore
import { defineBoot } from '#q-app/wrappers';
import { createPinia } from 'pinia';

export default defineBoot(({ app }) => {
  const lcc = new LCCScript();
  console.log('create LCCScript', lcc);

  window.LCC = lcc;
  window._ = _;
  window.$ = $;
  app.config.globalProperties.$lcc = LCC;

  const pinia = createPinia();
  app.use(pinia);
});
